package com.lanou.zhihu.mapper;

import com.lanou.zhihu.entity.Question;

import java.util.List;

/**
 * Created by QuChao on 2018/10/25.
 */
public interface QuestionMapper {
    Integer insert(Question question);

    List<Question> findAll();

    Question findById(Integer id);

    List<Question> findByTid(Integer tid);

    List<Question> findByUid(Integer uid);
}
